package com.fare.taluo.application.analyse;

import java.io.IOException;
import java.util.List;

import org.apache.hadoop.hbase.filter.Filter;

import com.fare.taluo.vo.core.PlaneInfo;

/**
 * 
 * @author spring.华 
 * 	e-mail 13719279477@139.com
 */
public interface PriceSearchApplication {
	
	public List<PlaneInfo> search(String startRowKey,String endRowKey,List<Filter> filters) throws Exception;
	
	
	public List<PlaneInfo> search(String tableName,String startRowKey,String endRowKey,List<Filter> filters) throws Exception;
	
	/**
	 * 
	 * @param dates 航班日期
	 * @param rowKeyHead
	 * @param checkBox_str value="MN"表示上午，晚上
	 * @param 公司 代号 如：CZ
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(String dates,String rowKeyHead,String checkBox_str,String companyCode)throws Exception;
	/**
	 * 
	 * @param dates
	 * @param rowKeyHead
	 * @param timeBegin
	 * @param timeEnd
	 * param checkBox_str value="P" 自定义时间
	 * @return
	 * @throws Exception
	 */
	public List<PlaneInfo> getPlaneInfos(String dates,String rowKeyHead,String checkBox_str,String timeBegin,String timeEnd,String companyCode)throws Exception;
	/**
	 * 
	 * @param tableName
	 * @param startRowKey
	 * @param endRowKey
	 * @param filters
	 * @return
	 */
	public List<PlaneInfo> searchByContidions(String tableName,String startRowKey,String endRowKey,List<Filter> filters);
}
